package com.jwell.panrank.contract

import com.jwell.cargoapp.ui.base.IBaseView
import com.jwell.driverapp.tools.BaseSubscriber

/**
 * Created by 76577 on 2018/5/8.
 * 首页
 */
class MainContract {
    interface View : IBaseView {
        fun setPermission()
    }

    interface Presenter {
        //检测功能权限
        fun checkPermission()

        //获取卸车点数据
        fun getUnloadingPoint()

        //获取所有计量点
        fun getMeasurePlaceList()
    }

    interface Model {
        fun checkPermission(baseSubscriber: BaseSubscriber)

        fun getUnloadingPoint(baseSubscriber: BaseSubscriber)

        fun getMeasurePlaceList(baseSubscriber: BaseSubscriber)
    }
}